<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"
		 isELIgnored="false" session="true"%>
<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
	<base href="<%=basePath%>">

	<title><s:message code="M_5200_WORDER_MANAGEMENT_TAG" /></title>
	<%@ include file="/page/comPage/comCSS.html"%>
	<%@ include file="/page/comPage/navbar.html"%>
	<style>
		.keyClass {
			color: blue;
			font-weight: bold;
		}

		.top {
			margin-bottom: 20px;
		}
		form .form-group {
			margin: -7px 0px;
		}

		.form-horizontal {
			padding-top: 10px;
		}
		.UnderDiv{
			margin-top: 10px;
		}
	</style>

</head>
<body>
<div class="container-fluid">
	<div class="col-lg-12 col-md-12 col-sm-12 btnDivCss">
		<button class="btn btn-info" id="query_btn">
			<s:message code="QUERY_TAG" />
		</button>

		<button class="btn btn-primary" id="add_btn">
			<s:message code="ADD_TAG" />
		</button>

		<button class="btn btn-warning" id="update_btn">
			<s:message code="UPDATE_TAG" />
		</button>

		<button class="btn btn-danger" id="del_btn">
			<s:message code="DELETE_TAG" />
		</button>

		<button class="btn btn-success" id="save_btn">
			<s:message code="SAVE_TAG" />
		</button>

		<%--<button class="btn btn-warning" id="release_btn">Release</button>--%>

		<button class="btn btn-primary" id="clear_btn">
			<s:message code="CLEAR_TAG" />
		</button>

		<button class="btn btn-primary" id="bind_btn">绑定内部订单</button>

		<button class="btn btn-warning" id="updateWoPrty_btn">修改优先级</button>
	</div>

	<div class="col-lg-4 col-md-4 col-sm-4" id="leftDiv">
		<form id="orderList" class="form-horizontal">
			<fieldset>
				<legend>查询条件</legend>
			</fieldset>
			<div class="form-group col-lg-12 col-md-12 col-sm-12">
				<label class="control-label col-lg-4 col-md-4 col-sm-4 keyClass"
					   for="cusIdFk">客户代码</label>
				<div class="col-lg-8 col-md-8 col-sm-8">
					<select class="form-control" id="cusIdFk" style="width: 100%;">
					</select>
				</div>
			</div>

			<div class="form-group col-lg-12 col-md-12 col-sm-12">
				<br /> <label class="control-label col-lg-4 col-md-4 col-sm-4"
							  for="mdlIdFk">产品代码</label>
				<div class="col-lg-8 col-md-8 col-sm-8">
					<select class="form-control" id="mdlIdFk" style="width: 100%;">
					</select>
				</div>
			</div>

			<div class="form-group col-lg-12 col-md-12 col-sm-12">
				<br /> <label class="control-label col-lg-4 col-md-4 col-sm-4 "
							  for="woCate">订单属性</label>
				<div class="col-lg-8 col-md-8 col-sm-8">
					<select class="form-control" id="woCate" style="width: 100%;">
					</select>
				</div>
			</div>

			<div class="form-group col-lg-12 col-md-12 col-sm-12">
				<br /> <label class="control-label col-lg-4 col-md-4 col-sm-4"
							  for="woPrty">优先级</label>
				<div class="col-lg-8 col-md-8 col-sm-8">
					<select class="form-control" id="woPrty" style="width: 100%;">
					</select>
				</div>
			</div>
		</form>
	</div>


	<div class="col-lg-8 col-md-8 col-sm-8" id="rightDiv">
		<form id="orderList2" class="form-horizontal">
			<fieldset>
				<legend>工单信息</legend>
			</fieldset>
			<div class="form-group col-lg-6 col-md-6 col-sm-6">
				<label class="control-label col-lg-4 col-md-4 col-sm-4" for="woId">工单号</label>
				<div class="col-lg-8 col-md-8 col-sm-8">
					<input type="text" class="form-control" id="woId" />
				</div>
			</div>

			<div class="form-group col-lg-6 col-md-6 col-sm-6">
				<label class="control-label col-lg-4 col-md-4 col-sm-4"
					   for="plnPrdQty">计划投产数量</label>
				<div class="col-lg-8 col-md-8 col-sm-8">
					<input type="text" class="form-control" id="plnPrdQty" />
				</div>
			</div>

			<div class="form-group col-lg-6 col-md-6 col-sm-6">
				<br /> <label class="control-label col-lg-4 col-md-4 col-sm-4"
							  for="plnStbDatepicker"> 计划投产日期</label>
				<div class="col-lg-8 col-md-8 col-sm-8">
					<div id="plnStbDatepicker" class="input-group input-append">
								<span class="input-group-addon add-on"> <i
										data-date-icon="glyphicon-calendar"
										class="glyphicon glyphicon-calendar"></i>
								</span>
						<input data-format="yyyy-MM-dd" type="text" class="form-control">
					</div>
				</div>
			</div>

			<div class="form-group col-lg-6 col-md-6 col-sm-6">
				<br /> <label class="control-label col-lg-4 col-md-4 col-sm-4"
							  for="plnCompDatepicker"> 计划交货日期 </label>
				<div class="col-lg-8 col-md-8 col-sm-8 ">
					<div id="plnCompDatepicker" class="input-group input-append">
								<span class="input-group-addon add-on"> <i
										data-date-icon="icon-calendar"
										class="glyphicon glyphicon-calendar"></i>
								</span>
						<input data-format="yyyy-MM-dd" type="text" class="form-control">
					</div>
				</div>
			</div>


			<div class="form-group col-lg-6 col-md-6 col-sm-6">
				<br /> <label class="control-label col-lg-4 col-md-4 col-sm-4"
							  for="woDsc">工单描述</label>
				<div class="col-lg-8 col-md-8 col-sm-8">
								<textarea  name="message"  rows="2" class="form-control"
										   id="woDsc"  style="resize:none;"></textarea>
					<!-- <input type="text" class="form-control" id="woDsc" /> -->
				</div>
			</div>

			<div class="form-group col-lg-6 col-md-6 col-sm-6">
				<br /> <label class="control-label col-lg-4 col-md-4 col-sm-4"
							  for="woNote">备注</label>
				<div class="col-lg-8 col-md-8 col-sm-8">
								<textarea  name="message"  rows="2" class="form-control"
										   id="woNote"  style="resize:none;"></textarea>
					<!-- <input type="text" class="form-control" id="woNote" /> -->
				</div>
			</div>

		</form>
	</div>

	<div class="col-lg-12 col-md-12 col-sm-12 UnderDiv" style="position: relative;">
		<fieldset>
			<legend>工单信息列表</legend>
		</fieldset>
		<div id="innerOrderDiv" class="col-lg-12 col-md-12 col-sm-12">
			<table id="innerOrderGrd"></table>
			<div id="innerOrderPg"></div>
		</div>
	</div>


	<!-- 绑定客户订单 模态框-->
	<div id="bindDialog" class="modal fade"
		 data-target=".bs-example-modal-lg" tabindex="-1" role="dialog"
		 aria-labelledby="title" aria-hidden="true">
		<div class="modal-dialog" style="width: 1200px">
			<div class="modal-content">
				<!-- 模框头部 -->
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
							aria-hidden="true">×</button>
					<h4 class="modal-title">工单绑定内部订单</h4>
				</div>
				<!-- 模框主体 -->
				<div class="modal-body">
					<div class="container-fluid">
						<div id="cusOrderDiv" class="col-lg-12 col-md-12 col-sm-12">
							<table id="cusOrderGrd"></table>
							<div id="cusOrderPg"></div>
						</div>
					</div>
				</div>
				<!-- 模框底部 -->
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal"
							id="bindDialog_cancelBtn">
						<s:message code="CANCEL_TAG" />
					</button>
					<button type="button" class="btn btn-primary"
							id="bindDialog_queryBtn">
						<s:message code="UPATE_COMMIT_TAG" />
					</button>
				</div>
			</div>
		</div>
	</div>


</div>





</body>
<%@ include file="/page/comPage/comJS.html"%>
<script src="lib/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script
		src="lib/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<script type="text/javascript" src="js/page/5000/5200.js"></script>
</html>